const requireComponent = require.context('./', true, /\w+\.svg$/);

let comps = {}
requireComponent.keys().map(fileName => {
    let comp = requireComponent(fileName).default;
    comps[comp.id] = comp
})

export default comps;